package com.foreknow.springboot.service;

import com.foreknow.springboot.po.Business;

import java.util.List;

/**
 * @author xiaoming
 * @version jdk1.8
 * @date 2022/8/12 14:37
 * @function:
 */
public interface BusinessService {
    /**
     * 根据点餐分类编号查询所属商家信息
     * @param orderTypeId 分类的编号
     * @return List<Business>
     */
    public List<Business> listBusinessOrderTypeId(Integer orderTypeId);

    /**
     * 根据商家编号查询商家信息
     * @param businessId 对象
     * @return
     */
    public Business getBusinessById(Integer businessId);
}
